package com.ryskoo.customer.customeraccount.domain;

import com.ryskoo.framework.core.bean.BasicPO;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "CUS_CUSTOMER_ACCOUNT")
public class CustomerAccountPO extends BasicPO {

	private static final long serialVersionUID = 1367694519900173980L;

	/** 会员uuid */
    @Column(name = "customer_uuid", length = 32)
    private String customerUuid;
	
	/** 昵称 */
    @Column(name = "nickname", length = 30)
    private String nickname;
    
    /** 性别：0.未知 1.男 2.女 */
    @Column(name = "sex",columnDefinition= "tinyint")
    private int sex;
    
    /** 生日 */
    @Column(name = "birthday", length = 19)
    private String birthday;
    
    /** 头像 */
    @Column(name = "image", length = 512)
    private String image;
    
    /** 备注 */
    @Column(name = "remark", length = 256)
    private String remark;
    
    /** 平台等级 */
    @Column(name = "plat_level", length = 32)
    private String platLevel;
    
    /** 总积分 */
    @Column(name = "totoal_integral")
    private int totoalIntegral;
    
    /** 可用积分 */
    @Column(name = "use_integral")
    private int useIntegral;
    
    /** 最后一次登录时间 */
    @Column(name = "last_login_time", length = 19)
    private String lastLoginTime;

    
	public String getCustomerUuid() {
		return customerUuid;
	}

	public void setCustomerUuid(String customerUuid) {
		this.customerUuid = customerUuid;
	}

	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public int getSex() {
		return sex;
	}

	public void setSex(int sex) {
		this.sex = sex;
	}

	public String getBirthday() {
		return birthday;
	}

	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}

	public String getImage() {
		return image;
	}

	public void setImage(String image) {
		this.image = image;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getPlatLevel() {
		return platLevel;
	}

	public void setPlatLevel(String platLevel) {
		this.platLevel = platLevel;
	}

	public int getTotoalIntegral() {
		return totoalIntegral;
	}

	public void setTotoalIntegral(int totoalIntegral) {
		this.totoalIntegral = totoalIntegral;
	}

	public int getUseIntegral() {
		return useIntegral;
	}

	public void setUseIntegral(int useIntegral) {
		this.useIntegral = useIntegral;
	}

	public String getLastLoginTime() {
		return lastLoginTime;
	}

	public void setLastLoginTime(String lastLoginTime) {
		this.lastLoginTime = lastLoginTime;
	}

    
}
